import request from "@/request";

export const exportOrderInfoToCsv = (exportCondition: any) =>
  request.post("/main/exportOrderInfoToCsv", exportCondition);
export const startRequest = (ezConfig: any) =>
  request.post("/main/start", ezConfig);

export const stop = () =>
  request.get("/main/stop", {
    responseType: "blob",
  });
export const exportOrderInfoData = (exportExcel: any) =>
  request.post("/main/exportOrderInfoData", exportExcel, {
    responseType: "blob",
  });
// export const stop = (ezConfig: any) => request.post("/job/stop", ezConfig);
